<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Language" content="zh-CN" />
	<title>管理平台登录</title>
<style type="text/css">
<!--
body {
	background-color: #407A88;
	
}
.div-main{
	margin:20px auto;
	background-image: url(/images/loginbg.jpg);
	background-repeat: no-repeat;
	width:1000px;
	height:600px;
	position:relative;
}
.loginform{
	position:relative;
	left:600px;
	top:210px;
	width:300px;
	/*border:solid red 1px;*/
}
.div-form span {
	margin:15px 0;
	text-align:left;
	display:-moz-inline-box;
	display:inline-block;
	width:60px; 
}
.div-button {
	margin:15px 100px;
	
}
.submit{
	width:80px;
	left:100px;
}
-->
</style>
<script src="/js/jquery-1.3.2.min.js" type="text/javascript"></script>
	<script type="text/javascript">
	<!--
		$(document).ready(function(){
            if (top.location != self.location)
            {
                top.location=self.location;
            }
            $("#username").focus();
            $("#myform").submit(function(){
                if (''==$('#username').val()) {
                    $("#username").focus();
                    $("#username").select();
                    return false;
                }
                else if (''==$('#password').val()) {
                    $("#password").focus();
                    $("#password").select();
                    return false;
                }
                return true;
            });
		});
	//-->
	</script>
</head>

<body>
<div class="div-main">
	<div class="loginform">
		<form id="myform" name="myform" method="post" action="/index/login/">
		<div class="div-form"><span>用户名:</span>
			<input name="username" type="text" id="username" style='width:140px;' maxlength="50" value="" />
		</div>
	  	<div class="div-form"><span>密  码:</span>
	  		<input name="password" type="password" id="password" style='width:140px;' maxlength="50" value="" />
	  	</div>
	  	<div class="div-button">
			<input type="submit" name="Submit" class="submit" value="确定" />
	  	</div>  
	  </form>
	</div>
</div>
</body>
</html>